#! /bin/bash

baseDir=$(dirname "$0")
saveRequest="$(head -n 1 "$baseDir"/phost.txt)"
headerStr="$(head -n 1 "$baseDir"/pheader.txt)"

body=$(cat $baseDir/bodyGet.json)

curl --location "$saveRequest/api/cityos/form-template/template/getTemplateInfoByTemplateId" \
  --header 'Content-Type: application/json' \
  --header "Authorization: $headerStr" \
  --data "$body"\
  -o "$baseDir/test/resGet-df.json"
